<table>
	<tr>
		<td>
		<?php echo $html->link("討論區", 
			array(
				'controller'=>'bulletins',
				'action'=>'index'
			)
		)?>
		</td>
		<?php if($session->read("Auth.User")==array()):?>
		<td>
		<?php echo $html->link("登入", 
			array(
				'controller'=>'users',
				'action'=>'login'
			)
		)?>
		</td>
		<?php else:?>
		<td>
		<?php echo $html->link("登出",
			array(
				'controller'=>'users',
				'action'=>'logout'
			)
		)?>
		</td>
		<?php endif?>
	</tr>
</table>